<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link type="text/css" rel="stylesheet" href="/Home/css/style.css" />
    <!--[if IE 6]>
    <script src="/Home/js/iepng.js" type="text/javascript"></script>
        <script type="text/javascript">
           EvPNG.fix('div, ul, img, li, input, a'); 
        </script>
    <![endif]-->
    
    <script type="text/javascript" src="/Home/js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="/Home/js/menu.js"></script>    
            
	<script type="text/javascript" src="/Home/js/lrscroll_1.js"></script>
    
    
	<script type="text/javascript" src="/Home/js/n_nav.js"></script>
    
<title>尤洪</title>
</head>
<style type="text/css">
        #pull_right{
            text-align:center;
        }
        .pagination {
            display: inline-block;
            padding-left: 0;
            margin: 20px 0;
            border-radius: 4px;
        }
        .pagination > li {
            display: inline;
        }
        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.42857143;
            color: #428bca;
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #ddd;
        }

        .pagination > .active > a,
        .pagination > .active > span,
        .pagination > .active > a:hover,
        .pagination > .active > span:hover,
        .pagination > .active > a:focus,
        .pagination > .active > span:focus {
            z-index: 2;
            color: #fff;
            cursor: default;
            background-color: #428bca;
            border-color: #428bca;
        }

</style>
<body>  
<!--Begin Header Begin-->
@include('Home.parent')
<div class="top">
    <div class="logo"><a href="http://www.nbshop.com"><img src="/Home/images/logo.png" /></a></div>
    <div class="search">
    	<form>
        	<input type="text" value="" class="s_ipt" />
            <input type="submit" value="搜索" class="s_btn" />
        </form>                      
        <span class="fl"><a href="#">咖啡</a><a href="#">iphone 6S</a><a href="#">新鲜美食</a><a href="#">蛋糕</a><a href="#">日用品</a><a href="#">连衣裙</a></span>
    </div>
    <div class="i_car">
    	<div class="car_t">购物车 [ <span>3</span> ]</div>
        <div class="car_bg">
       		<!--Begin 购物车未登录 Begin-->
        	<div class="un_login">还未登录！<a href="login" style="color:#ff4e00;">马上登录</a> 查看购物车！</div>
            <!--End 购物车未登录 End-->
            <!--Begin 购物车已登录 Begin-->
            <ul class="cars">
            	<li>
                	<div class="img"><a href="#"><img src="/Home/images/car1.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">法颂浪漫梦境50ML 香水女士持久清新淡香 送2ML小样3只</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
                <li>
                	<div class="img"><a href="#"><img src="/Home/images/car2.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">香奈儿（Chanel）邂逅活力淡香水50ml</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
                <li>
                	<div class="img"><a href="#"><img src="/Home/images/car2.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">香奈儿（Chanel）邂逅活力淡香水50ml</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
            </ul>
            <div class="price_sum">共计&nbsp; <font color="#ff4e00">￥</font><span>1058</span></div>
            <div class="price_a"><a href="#">去购物车结算</a></div>
            <!--End 购物车已登录 End-->
        </div>
    </div>
</div>
<!--End Header End--> 
<!--Begin Menu Begin-->
<div class="menu_bg">
    <div class="menu">
        <!--Begin 商品分类详情 Begin-->    
        <div class="nav">
            <div class="nav_t">全部商品分类</div>
            <div class="leftNav">
            @if(empty($ak))
             <?php $ak=array();?>
            @else
                @foreach ($ak as $key => $value)   
                    <ul> 
                        <li>
                            <div class="fj">
                                <span class="n_img"><span></span><img src="/Home/images/nav1.png" /></span>
                                <span class="fl"   >{{$value->cate_name}}</span>
                            </div>
                            <div class="zj" style='top:{{$key*(-40)}}px';>
                                <div class="zj_l">
                                @if(empty($value->child))
                                   <?php $value->child=array();?>
                                @else
                                    @foreach ($value->child as $k) 
                                        <div class="zj_l_c">
                                           <h2>{{$k->cate_name}}</h2>
                                           @if(empty($k->child))
                                               <?php $k->chlid=array();?>
                                           @else
                                               @foreach ($k->child as $v) 
                                                <a href="http://www.nbshop.com/home/categorylist/{{$v->cate_id}}">{{$v->cate_name}}</a>|
                                               @endforeach 
                                           @endif
                                        </div>
                                   @endforeach 
                               @endif
                                </div>
                                <div class="zj_r">
                                    <a href="#"><img src="/Home/images/n_img1.jpg" width="236" height="200" /></a>
                                    <a href="#"><img src="/Home/images/n_img2.jpg" width="236" height="200" /></a>
                                </div>
                            </div>
                        </li>
                    </ul>  
                      @endforeach  
                  @endif        
            </div>
        </div>  
        <!--End 商品分类详情 End-->                                                     
        <ul class="menu_r">                                                                                                                                               
            <li><a href="index">首页</a></li>
            <li><a href="Food.html">美食</a></li>
            <li><a href="Fresh.html">生鲜</a></li>
            <li><a href="HomeDecoration.html">家居</a></li>
            <li><a href="SuitDress.html">女装</a></li>
            <li><a href="MakeUp.html">美妆</a></li>
            <li><a href="Digital.html">数码</a></li>
            <li><a href="GroupBuying.html">汽车</a></li>
        </ul>
        <div class="m_ad">NBshop！</div>
    </div>
</div>
<!--End Menu End--> 
    <!--Begin 筛选条件 Begin-->
    <div class="content mar_10">
    	<table border="0" class="choice" style="width:100%; font-family:'宋体'; margin:0 auto;" cellspacing="0" cellpadding="0">
          <tr valign="top">
            <td width="70">&nbsp; 类型：</td>
            <td class="td_a">
            @foreach($cate_one as $key =>$val)
            <a href="http://www.nbshop.com/home/categorylist/{{$val->cate_id}}">{{$val->cate_name}}</a>
            @endforeach
            </td>
          </tr>
                                          
          <tr valign="top">
            <td width="70">&nbsp; 类型：</td>
            <td class="td_a">
            @foreach($cate_two as $key =>$val)
            <a href="http://www.nbshop.com/home/categorylist/{{$val->cate_id}}">{{$val->cate_name}}</a>
            @endforeach
            </td>
          </tr>                                         
          <tr valign="top">
            <td width="70">&nbsp; 类型：</td>
            <td class="td_a">
            @foreach($cate_three as $key =>$val)
            <a href="http://www.nbshop.com/home/categorylist/{{$val->cate_id}}">{{$val->cate_name}}</a>
            @endforeach
            </td>
          </tr>                                                             
        </table>                                                                                 
    </div>
    <!--End 筛选条件 End-->
    
    <div class="content mar_20">
    	<div class="l_history">
        	<div class="his_t">
            	<span class="fl">浏览历史</span>
                <span class="fr"><a href="#">清空</a></span>
            </div>
        	<ul>
            	<li>
                    <div class="img"><a href="#"><img src="/Home/images/his_1.jpg" width="185" height="162" /></a></div>
                	<div class="name"><a href="#">Dior/迪奥香水2件套装</a></div>
                    <div class="price">
                    	<font>￥<span>368.00</span></font> &nbsp; 18R
                    </div>
                </li>
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/his_2.jpg" width="185" height="162" /></a></div>
                	<div class="name"><a href="#">Dior/迪奥香水2件套装</a></div>
                    <div class="price">
                    	<font>￥<span>768.00</span></font> &nbsp; 18R
                    </div>
                </li>
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/his_3.jpg" width="185" height="162" /></a></div>
                	<div class="name"><a href="#">Dior/迪奥香水2件套装</a></div>
                    <div class="price">
                    	<font>￥<span>680.00</span></font> &nbsp; 18R
                    </div>
                </li>
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/his_4.jpg" width="185" height="162" /></a></div>
                	<div class="name"><a href="#">Dior/迪奥香水2件套装</a></div>
                    <div class="price">
                    	<font>￥<span>368.00</span></font> &nbsp; 18R
                    </div>
                </li>
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/his_5.jpg" width="185" height="162" /></a></div>
                	<div class="name"><a href="#">Dior/迪奥香水2件套装</a></div>
                    <div class="price">
                    	<font>￥<span>368.00</span></font> &nbsp; 18R
                    </div>
                </li>
        	</ul>
        </div>
        <div class="l_list">
        	<div class="list_t">
            	<span class="fl list_or">
                @if($class == 'now')
                	<a href="/home/categorylist" class="now">默认</a>
                    <a href="/home/category_hot">热销</a>
                    <a href="/home/category_new">新品</a>
                @elseif($class == 'hot')
                <a href="/home/categorylist">默认</a>
                    <a href="/home/category_hot" class="now">热销</a>
                    <a href="/home/category_new">新品</a>
                @else
                <a href="/home/categorylist">默认</a>
                    <a href="/home/category_hot">热销</a>
                    <a href="/home/category_new"  class="now">新品</a>
                @endif
                </span>
                <span class="fr">共发现120件</span>
            </div>
            <div class="list_c">
            	
                <ul class="cate_list">
                @foreach ($res as $k=>$v)
                	<li>
                    	<div class="img"><a href="/home/product/{{$v->goods_id}}"><img src="{{$v->goods_img}}" width="210" height="185" /></a></div>
                        <div class="price">
                            <font>￥<span>{{$v->shop_price}}</span></font> &nbsp; {{$v->goods_price}}
                        </div>
                        <div class="name"><a href="/home/product/{{$v->goods_id}}">{{$v->goods_name}}</a></div>
                        <div class="carbg">
                        	<a href="/home/addcollect/{{$v->goods_id}}" class="ss">收藏</a>
                            
                        </div>
                    </li>
                @endforeach
                </ul>
                
    <div id="pull_right">
        <div class="pull-right">
            {!!$res->appends(array('cate_id'=>$cate_id))->render()!!}
        </div>
     </div>
                
                
                
            </div>
            
        </div>
    </div>
    
    <!--Begin Footer Begin -->
    <div class="b_btm_bg bg_color">
        <div class="b_btm">
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b1.png" width="62" height="62" /></td>
                <td><h2>正品保障</h2>正品行货  放心购买</td>
              </tr>
            </table>
			<table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b2.png" width="62" height="62" /></td>
                <td><h2>满38包邮</h2>满38包邮 免运费</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b3.png" width="62" height="62" /></td>
                <td><h2>天天低价</h2>天天低价 畅选无忧</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b4.png" width="62" height="62" /></td>
                <td><h2>准时送达</h2>收货时间由你做主</td>
              </tr>
            </table>
        </div>
    </div>
            <!-- 友情链接 -->
@include('Home.foot')
</div>

</body>


<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
<script>
     $('.fl a').click(function(){
    $(this).hasClass('now') ? $(this).removeClass('now') : $(this).addClass('now');   // 当前标签变红
    $(this).siblings().removeClass('now');    
})
</script>
</html>
